function jieliu(fn, time) {
    let timer = null;
    return function (fn, time) {
        let nowtime = new Date()
        if (nowtime - timer > time) {
            setTimeout(() => {
                fn.call(this, ...args)
            }, time)
        } else {
            timer = nowtime
        }
    }
}

